import React, { useState, useEffect } from 'react';
import { Table } from 'antd';
import styles from '../index.less';
import { extraNames } from '../utils/constant';

import {
  CONSTANT_TAB_KEY1, // 投资正式版
  CONSTANT_TAB_KEY2, // 调整版
  CONSTANT_TAB_KEY3, // 实际版
  EDITCOLUMNS,
  FLOAT_MODULUS, // 浮点系数
  FLOAT_MODULUS_NUM, //浮点倍数
} from '../utils/constant';

const ActualTable = props => {
  const { activeKey, isEdit, dataSource, columns } = props;
  useEffect(() => {}, []);

  return (
    <>
      <Table
        className={styles.PayBackModulus}
        columns={columns}
        dataSource={dataSource}
        size="middle"
        bordered
        pagination={false}
        scroll={{ x: columns.length * 100 - 40, y: 'calc(100vh - 295px)' }}
      ></Table>
    </>
  );
};

export default ActualTable;
